Cisco-IOS-XR-infra-policymgr-cfg API API Reference

API Endpoint
http://{Controller-IP}:{Controller-Port}/restconf/config/network-topology:network-topology/topology/topology-netconf/node/inetri/yang-ext:mount/
URL '/' code: %2F
Schemes: http
Version: 1.0.0
Leaf Color Code:
   Key  Mandatory  Optional

Paths

POLICY-MANAGER - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/

Update operation of resource: policy-manager

policy-managerbody object

Request Content-Types: application/json
Request Example
{        {            {
              
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Domain-format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Domain name or regular expression.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Domain name or regular expression.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} },
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} },
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of class-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", Match CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", Match precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", Match DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of class-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Domain name or regular expression.
} ] }, { {
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MANAGER - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/

Create operation of resource: policy-manager

policy-managerbody object

Request Content-Types: application/json
Request Example
{        {            {
              
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Domain-format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Domain name or regular expression.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Domain name or regular expression.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} },
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} },
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of class-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", Match CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", Match precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", Match DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of class-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Domain name or regular expression.
} ] }, { {
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] } ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MANAGER - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/

Delete operation of resource: policy-manager

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MANAGER - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/

Retrieve operation of resource: policy-manager

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        {            {
              
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Domain-format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Domain name or regular expression.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Domain name or regular expression.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} },
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} },
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Match DEI bit.
range: "0..1"
"cos": "integer", Match CoS.
range: "0..7"
"inner-cos": "integer", Match inner CoS.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Match precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "integer", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "integer", Match QoS group.\nShould be value 0..512 or range.
range: "0..512"
"traffic-class": "integer", Match Traffic Class.\nShould be value 0..63 or range.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Match discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Match ATM CLP bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Dhcp client Id.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of class-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Dhcp client Id.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", Match CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", Match precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", Match DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of class-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Domain name or regular expression.
} ] }, { {
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] } ] } }

CLASS-MAPS - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/

Update operation of resource: class-maps

class-mapsbody object

Request Content-Types: application/json
Request Example
{      {
        
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS-MAPS - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/

Create operation of resource: class-maps

class-mapsbody object

Request Content-Types: application/json
Request Example
{      {
        
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS-MAPS - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/

Delete operation of resource: class-maps

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS-MAPS - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/

Retrieve operation of resource: class-maps

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {
        
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] } }

CLASS-MAP - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/

Update operation of resource: class-map

class-mapbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    {
      
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS-MAP - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/

Create operation of resource: class-map

class-mapbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    {
      
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS-MAP - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/

Delete operation of resource: class-map

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS-MAP - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/

Retrieve operation of resource: class-map

type name: string
in path

ID of type name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {
      
"class-map-mode-match-any": [ null ], Match all match criteria
"name": "string", Domain name or regular expression.
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Match flow-tag. Should be value 1..63 or range.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
},
"type": "enumeration", Type of class-map.
Options:
qos
traffic
control
"class-map-mode-match-all": [ null ], Match any match criteria.
{
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} ],
"description": "string" Description for this policy-map.
} ] }

MATCH - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/

Update operation of resource: match

matchbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/

Create operation of resource: match

matchbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/

Delete operation of resource: match

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/

Retrieve operation of resource: match

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"cac-admit": [ null ], Match CAC admitted.
"circuit-id-regex": "string", Match Circuit id regex.
"atm-clp": "integer", Match ATM CLP bit.
range: "0..1"
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Match flow-tag. Should be value 1..63 or range.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"cac-unadmit": [ null ], Match CAC unadmitted.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"atm-oam": [ null ], Match ATM OAM.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ],
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] }, {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} }

DESTINATION-ADDRESS-IPV4 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv4/{address netmask}/

Update operation of resource: destination-address-ipv4

destination-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV4 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv4/{address netmask}/

Create operation of resource: destination-address-ipv4

destination-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV4 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv4/{address netmask}/

Delete operation of resource: destination-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV4 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv4/{address netmask}/

Retrieve operation of resource: destination-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }

DESTINATION-ADDRESS-IPV6 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv6/{address prefix-length}/

Update operation of resource: destination-address-ipv6

destination-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV6 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv6/{address prefix-length}/

Create operation of resource: destination-address-ipv6

destination-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV6 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv6/{address prefix-length}/

Delete operation of resource: destination-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV6 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/destination-address-ipv6/{address prefix-length}/

Retrieve operation of resource: destination-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }

SOURCE-ADDRESS-IPV4 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv4/{address netmask}/

Update operation of resource: source-address-ipv4

source-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV4 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv4/{address netmask}/

Create operation of resource: source-address-ipv4

source-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV4 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv4/{address netmask}/

Delete operation of resource: source-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV4 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv4/{address netmask}/

Retrieve operation of resource: source-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }

SOURCE-ADDRESS-IPV6 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv6/{address prefix-length}/

Update operation of resource: source-address-ipv6

source-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV6 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv6/{address prefix-length}/

Create operation of resource: source-address-ipv6

source-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV6 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv6/{address prefix-length}/

Delete operation of resource: source-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV6 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/source-address-ipv6/{address prefix-length}/

Retrieve operation of resource: source-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }

DHCP-CLIENT-ID - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id/{value flag}/

Update operation of resource: dhcp-client-id

dhcp-client-idbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id/{value flag}/

Create operation of resource: dhcp-client-id

dhcp-client-idbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id/{value flag}/

Delete operation of resource: dhcp-client-id

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id/{value flag}/

Retrieve operation of resource: dhcp-client-id

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} }

DHCP-CLIENT-ID-REGEX - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id-regex/{value flag}/

Update operation of resource: dhcp-client-id-regex

dhcp-client-id-regexbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client Id regex Ascii/Hex.
"value": "string" Dhcp client id regular expression.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID-REGEX - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id-regex/{value flag}/

Create operation of resource: dhcp-client-id-regex

dhcp-client-id-regexbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client Id regex Ascii/Hex.
"value": "string" Dhcp client id regular expression.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID-REGEX - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id-regex/{value flag}/

Delete operation of resource: dhcp-client-id-regex

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID-REGEX - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/dhcp-client-id-regex/{value flag}/

Retrieve operation of resource: dhcp-client-id-regex

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"flag": "string", Dhcp client Id regex Ascii/Hex.
"value": "string" Dhcp client id regular expression.
} }

DOMAIN-NAME - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name/{name format}/

Update operation of resource: domain-name

domain-namebody object

type name: string
in path

ID of type name

name format: string
in path

ID of name format

Request Content-Types: application/json
Request Example
{    
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name/{name format}/

Create operation of resource: domain-name

domain-namebody object

type name: string
in path

ID of type name

name format: string
in path

ID of name format

Request Content-Types: application/json
Request Example
{    
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name/{name format}/

Delete operation of resource: domain-name

type name: string
in path

ID of type name

name format: string
in path

ID of name format

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name/{name format}/

Retrieve operation of resource: domain-name

type name: string
in path

ID of type name

name format: string
in path

ID of name format

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }

DOMAIN-NAME-REGEX - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name-regex/{regex format}/

Update operation of resource: domain-name-regex

domain-name-regexbody object

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

Request Content-Types: application/json
Request Example
{    
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME-REGEX - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name-regex/{regex format}/

Create operation of resource: domain-name-regex

domain-name-regexbody object

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

Request Content-Types: application/json
Request Example
{    
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME-REGEX - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name-regex/{regex format}/

Delete operation of resource: domain-name-regex

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME-REGEX - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/domain-name-regex/{regex format}/

Retrieve operation of resource: domain-name-regex

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }

FLOW - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/

Update operation of resource: flow

flowbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/

Create operation of resource: flow

flowbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/

Delete operation of resource: flow

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/

Retrieve operation of resource: flow

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"flow-key": "string", Configure the flow-key parameters.
{
"idle-timeout": "string" Maximum time of inactivity for a flow.
} ] } }

FLOW-CACHE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/flow-cache/

Update operation of resource: flow-cache

flow-cachebody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"idle-timeout": "string" Maximum time of inactivity for a flow.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-CACHE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/flow-cache/

Create operation of resource: flow-cache

flow-cachebody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"idle-timeout": "string" Maximum time of inactivity for a flow.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-CACHE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/flow-cache/

Delete operation of resource: flow-cache

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-CACHE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match/flow/flow-cache/

Retrieve operation of resource: flow-cache

type name: string
in path

ID of type name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"idle-timeout": "string" Maximum time of inactivity for a flow.
} }

MATCH-NOT - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/

Update operation of resource: match-not

match-notbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Configure the flow-tag parameters.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Configure the flow-tag parameters.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH-NOT - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/

Create operation of resource: match-not

match-notbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Configure the flow-tag parameters.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Configure the flow-tag parameters.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH-NOT - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/

Delete operation of resource: match-not

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MATCH-NOT - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/

Retrieve operation of resource: match-not

type name: string
in path

ID of type name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"service-name-regex": "string", Match servicve name regular expression.
"protocol": "string", Match protocol.
"vpls-broadcast": [ null ], Match VPLS Broadcast
"precedence": "string", Match precedence.
range: "0..7"
"packet-length": "string", Match packet length.\nShould be value 0..65535 or range.
"fr-de": "integer", Match FrameRelay DE bit.
range: "0..1"
"circuit-id-regex": "string", Match Circuit id regex.
"traffic-class": "string", Match Traffic Class.\nShould be value 0..63 or range.
"ipv6-packet-length": "string", Match IPv6 packet length.\nShould be value 0..65535 or range.
"icmpv6-code": "string", Match IPv6 ICMP code.\nShould be value 0..255 or range.
"timer": "string", Match timer.
"vpls-multicast": [ null ], Match VPLS Multicast
"service-name": "string", Match servicve name.
"fragment-type": "string", Match fragment type for a packet.
"flow-tag": "string", Configure the flow-tag parameters.
"ipv4-packet-length": "string", Match IPv4 packet length.\nShould be value 0..65535 or range.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"authen-status": "string", Match authentication status.
"ipv4-precedence": "string", Match IPv4 precedence.
range: "0..7"
"ipv4-dscp": "string", Match IPv4 DSCP.
"tcp-flag": "integer", Match TCP flags.
range: "0..4095"
"ethertype": "string", Match Ethertype.
"mpls-experimental-topmost": "string", Match MPLS experimental topmost label.
range: "0..7"
"ethernet-services-acl": "string", Match Ethernet Services
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"ipv4-acl": "string", Match IPv4 ACL.
"icmpv6-type": "string", Match IPv6 ICMP type.\nShould be value 0..255 or range.
"vpls-known": [ null ], Match VPLS Known
"destination-port": "string", Match destination port.\nShould be value 0..65535 or range.
{
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} ],
"inner-cos": "string", Match inner CoS.
range: "0..7"
"frame-relay-dlci": "string", Match frame-relay DLCI value.\nShould be value 16..1007 or range.
"vpls-unknown": [ null ], Match VPLS Unknown
"vlan": "string", Match VLAN ID.
"user-name": "string", Match user name.
"dscp": "string", Match DSCP.
"mpls-experimental-imposition": "string", Match MPLS experimental imposition label.
range: "0..7"
"qos-group": "string", Match QoS group.\nShould be value 0..512 or range.
"source-mac": "string", Match source MAC address.
"circuit-id": "string", Match Circuit ID.
"ipv6-acl": "string", Match IPv6 ACL.
"source-port": "string", Match source port.\nShould be value 0..65535 or range.
"user-name-regex": "string", Match user name regular expression.
{
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv4 address.
} ],
"inner-vlan": "string", Match inner VLAN ID.
{
"flow-tag": "integer" Configure the flow-tag parameters.
range: "1..63"
} ],
"cos": "string", Match CoS.
range: "0..7"
"mpls-disposition-ipv6-access-list": "string", Match MPLS Label Disposition IPv6 access list.
"destination-mac": "string", Match destination MAC address.
"dei-inner": "integer", Match DEI INNER bit.
range: "0..1"
"remote-id-regex": "string", Match remote id regex.
"timer-regex": "string", Match timer regular expression.
{
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} ], {
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"ipv6-dscp": "string", Match IPv6 DSCP.
"dei": "integer", Match DEI bit.
range: "0..1"
"icmpv4-code": "string", Match IPv4 ICMP code.\nShould be value 0..255 or range.
{
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} ],
"remote-id": "string", Match remote ID.
"icmpv4-type": "string", Match IPv4 ICMP type.\nShould be value 0..255 or range.
"discard-class": "string", Match discard class.
range: "0..7"
"mpls-disposition-ipv4-access-list": "string", Match MPLS Label Disposition IPv4 access list.
"vpls-control": [ null ], Match VPLS control
"ipv6-precedence": "string" Match IPv6 precedence.
range: "0..7"
} }

DESTINATION-ADDRESS-IPV4 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv4/{address netmask}/

Update operation of resource: destination-address-ipv4

destination-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV4 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv4/{address netmask}/

Create operation of resource: destination-address-ipv4

destination-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV4 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv4/{address netmask}/

Delete operation of resource: destination-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV4 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv4/{address netmask}/

Retrieve operation of resource: destination-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }

DESTINATION-ADDRESS-IPV6 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv6/{address prefix-length}/

Update operation of resource: destination-address-ipv6

destination-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV6 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv6/{address prefix-length}/

Create operation of resource: destination-address-ipv6

destination-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV6 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv6/{address prefix-length}/

Delete operation of resource: destination-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DESTINATION-ADDRESS-IPV6 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/destination-address-ipv6/{address prefix-length}/

Retrieve operation of resource: destination-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }

SOURCE-ADDRESS-IPV4 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv4/{address netmask}/

Update operation of resource: source-address-ipv4

source-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV4 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv4/{address netmask}/

Create operation of resource: source-address-ipv4

source-address-ipv4body object

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV4 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv4/{address netmask}/

Delete operation of resource: source-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV4 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv4/{address netmask}/

Retrieve operation of resource: source-address-ipv4

type name: string
in path

ID of type name

address netmask: string
in path

ID of address netmask

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }

SOURCE-ADDRESS-IPV6 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv6/{address prefix-length}/

Update operation of resource: source-address-ipv6

source-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV6 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv6/{address prefix-length}/

Create operation of resource: source-address-ipv6

source-address-ipv6body object

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Request Content-Types: application/json
Request Example
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV6 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv6/{address prefix-length}/

Delete operation of resource: source-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SOURCE-ADDRESS-IPV6 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/source-address-ipv6/{address prefix-length}/

Retrieve operation of resource: source-address-ipv6

type name: string
in path

ID of type name

address prefix-length: string
in path

ID of address prefix-length

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"prefix-length": "integer", IPv6 prefix length.
range: "0..128"
"address": "string" IPv6 address.
} }

DHCP-CLIENT-ID - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id/{value flag}/

Update operation of resource: dhcp-client-id

dhcp-client-idbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id/{value flag}/

Create operation of resource: dhcp-client-id

dhcp-client-idbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id/{value flag}/

Delete operation of resource: dhcp-client-id

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id/{value flag}/

Retrieve operation of resource: dhcp-client-id

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"flag": "string", Dhcp client id Ascii/Hex
"value": "string" Dhcp client Id.
} }

DHCP-CLIENT-ID-REGEX - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id-regex/{value flag}/

Update operation of resource: dhcp-client-id-regex

dhcp-client-id-regexbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client Id regex Ascii/Hex.
"value": "string" Dhcp client id regular expression.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID-REGEX - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id-regex/{value flag}/

Create operation of resource: dhcp-client-id-regex

dhcp-client-id-regexbody object

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Request Content-Types: application/json
Request Example
{    
"flag": "string", Dhcp client Id regex Ascii/Hex.
"value": "string" Dhcp client id regular expression.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID-REGEX - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id-regex/{value flag}/

Delete operation of resource: dhcp-client-id-regex

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DHCP-CLIENT-ID-REGEX - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/dhcp-client-id-regex/{value flag}/

Retrieve operation of resource: dhcp-client-id-regex

type name: string
in path

ID of type name

value flag: string
in path

ID of value flag

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"flag": "string", Dhcp client Id regex Ascii/Hex.
"value": "string" Dhcp client id regular expression.
} }

DOMAIN-NAME - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name/{name format}/

Update operation of resource: domain-name

domain-namebody object

type name: string
in path

ID of type name

name format: string
in path

ID of name format

Request Content-Types: application/json
Request Example
{    
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name/{name format}/

Create operation of resource: domain-name

domain-namebody object

type name: string
in path

ID of type name

name format: string
in path

ID of name format

Request Content-Types: application/json
Request Example
{    
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name/{name format}/

Delete operation of resource: domain-name

type name: string
in path

ID of type name

name format: string
in path

ID of name format

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name/{name format}/

Retrieve operation of resource: domain-name

type name: string
in path

ID of type name

name format: string
in path

ID of name format

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"name": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }

DOMAIN-NAME-REGEX - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name-regex/{regex format}/

Update operation of resource: domain-name-regex

domain-name-regexbody object

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

Request Content-Types: application/json
Request Example
{    
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME-REGEX - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name-regex/{regex format}/

Create operation of resource: domain-name-regex

domain-name-regexbody object

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

Request Content-Types: application/json
Request Example
{    
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME-REGEX - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name-regex/{regex format}/

Delete operation of resource: domain-name-regex

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DOMAIN-NAME-REGEX - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/domain-name-regex/{regex format}/

Retrieve operation of resource: domain-name-regex

type name: string
in path

ID of type name

regex format: string
in path

ID of regex format

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"regex": "string", Domain name or regular expression.
"format": "string" Domain-format name.
} }

FLOW - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/flow/

Update operation of resource: flow

flowbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"flow-tag": "integer" Configure the flow-tag parameters.
range: "1..63"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/flow/

Create operation of resource: flow

flowbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    
"flow-tag": "integer" Configure the flow-tag parameters.
range: "1..63"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/flow/

Delete operation of resource: flow

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/class-maps/class-map/{type name}/match-not/flow/

Retrieve operation of resource: flow

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"flow-tag": "integer" Configure the flow-tag parameters.
range: "1..63"
} }

POLICY-MAPS - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/

Update operation of resource: policy-maps

policy-mapsbody object

Request Content-Types: application/json
Request Example
{      {          {
            
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of policy-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of policy-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Name of policy-map.
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAPS - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/

Create operation of resource: policy-maps

policy-mapsbody object

Request Content-Types: application/json
Request Example
{      {          {
            
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of policy-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of policy-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Name of policy-map.
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAPS - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/

Delete operation of resource: policy-maps

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAPS - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/

Retrieve operation of resource: policy-maps

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {          {
            
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of policy-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of policy-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Name of policy-map.
} ] } }

POLICY-MAP - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/

Update operation of resource: policy-map

policy-mapbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    {        {
          
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of policy-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of policy-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Name of policy-map.
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAP - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/

Create operation of resource: policy-map

policy-mapbody object

type name: string
in path

ID of type name

Request Content-Types: application/json
Request Example
{    {        {
          
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of policy-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of policy-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Name of policy-map.
} ] }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAP - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/

Delete operation of resource: policy-map

type name: string
in path

ID of type name

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAP - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/

Retrieve operation of resource: policy-map

type name: string
in path

ID of type name

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    {        {
          
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Name of policy-map.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class-map.
"class-type": "enumeration" Type of class-map.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} ], {
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of policy-map.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } ],
"type": "enumeration", Type of policy-map.
Options:
qos
pbr
traffic
subscriber-control
accounting
redirect
flow-monitor
"description": "string", Description for this policy-map.
"name": "string" Name of policy-map.
} ] }

EVENT - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/

Update operation of resource: event

eventbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

Request Content-Types: application/json
Request Example
{    
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class.
"class-type": "enumeration" Type of class.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EVENT - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/

Create operation of resource: event

eventbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

Request Content-Types: application/json
Request Example
{    
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class.
"class-type": "enumeration" Type of class.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EVENT - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/

Delete operation of resource: event

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EVENT - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/

Retrieve operation of resource: event

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"event-mode-match-all": [ null ], Execute all the matched classes.
"event-type": "enumeration", Event type.
Options:
account-logoff
account-logon
authentication-failure
authentication-no-response
authorization-failure
authorization-no-response
credit-exhausted
exception
idle-timeout
quota-depleted
service-start
service-stop
session-activate
session-start
session-stop
timer-expiry
{ {
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class.
"class-type": "enumeration" Type of class.
Options:
qos
traffic
subscriber-control
} ],
"event-mode-match-first": [ null ] Execute only the first matched class.
} }

CLASS - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/

Update operation of resource: class

classbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      {          
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class.
"class-type": "enumeration" Type of class.
Options:
qos
traffic
subscriber-control
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/

Create operation of resource: class

classbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      {          
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class.
"class-type": "enumeration" Type of class.
Options:
qos
traffic
subscriber-control
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/

Delete operation of resource: class

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CLASS - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/

Retrieve operation of resource: class

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      {          
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } ],
"class-execution-strategy": "enumeration", Class execution strategy.
Options:
do-all
do-until-failure
do-until-success
"class-name": "string", Name of class.
"class-type": "enumeration" Type of class.
Options:
qos
traffic
subscriber-control
} }

ACTION-RULE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/

Update operation of resource: action-rule

action-rulebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{      
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTION-RULE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/

Create operation of resource: action-rule

action-rulebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{      
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTION-RULE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/

Delete operation of resource: action-rule

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTION-RULE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/

Retrieve operation of resource: action-rule

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
},
"aaa-list": "string" Name of the AAA method list.
},
"disconnect": [ null ], Disconnect session.
"monitor": [ null ], Monitor session.
"action-sequence-number": "integer", Sequence number for this action.
range: "1..65535"
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
},
"timer-name": "string" Name of the timer.
},
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} } }

ACTIVATE-DYNAMIC-TEMPLATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/activate-dynamic-template/

Update operation of resource: activate-dynamic-template

activate-dynamic-templatebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTIVATE-DYNAMIC-TEMPLATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/activate-dynamic-template/

Create operation of resource: activate-dynamic-template

activate-dynamic-templatebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTIVATE-DYNAMIC-TEMPLATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/activate-dynamic-template/

Delete operation of resource: activate-dynamic-template

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTIVATE-DYNAMIC-TEMPLATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/activate-dynamic-template/

Retrieve operation of resource: activate-dynamic-template

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} }

AUTHENTICATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authenticate/

Update operation of resource: authenticate

authenticatebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string" Name of the AAA method list.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AUTHENTICATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authenticate/

Create operation of resource: authenticate

authenticatebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string" Name of the AAA method list.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AUTHENTICATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authenticate/

Delete operation of resource: authenticate

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AUTHENTICATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authenticate/

Retrieve operation of resource: authenticate

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"aaa-list": "string" Name of the AAA method list.
} }

AUTHORIZE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authorize/

Update operation of resource: authorize

authorizebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AUTHORIZE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authorize/

Create operation of resource: authorize

authorizebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AUTHORIZE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authorize/

Delete operation of resource: authorize

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

AUTHORIZE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/authorize/

Retrieve operation of resource: authorize

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"aaa-list": "string", Name of the AAA method list.
"password": "string", Specify a password to be used for AAA\nrequest.
"identifier": "enumeration", Specify an Authorize format name.
Options:
circuit-id
dhcp-client-id
remote-id
source-address-ipv4
source-address-ipv6
source-address-mac
username
"format": "string" Specify an Authorize format name.
} }

DEACTIVATE-DYNAMIC-TEMPLATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/deactivate-dynamic-template/

Update operation of resource: deactivate-dynamic-template

deactivate-dynamic-templatebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEACTIVATE-DYNAMIC-TEMPLATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/deactivate-dynamic-template/

Create operation of resource: deactivate-dynamic-template

deactivate-dynamic-templatebody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEACTIVATE-DYNAMIC-TEMPLATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/deactivate-dynamic-template/

Delete operation of resource: deactivate-dynamic-template

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

DEACTIVATE-DYNAMIC-TEMPLATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/deactivate-dynamic-template/

Retrieve operation of resource: deactivate-dynamic-template

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"aaa-list": "string", Name of the AAA method list.
"name": "string" Dynamic template name.
} }

SET-TIMER - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/set-timer/

Update operation of resource: set-timer

set-timerbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET-TIMER - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/set-timer/

Create operation of resource: set-timer

set-timerbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET-TIMER - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/set-timer/

Delete operation of resource: set-timer

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET-TIMER - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/set-timer/

Retrieve operation of resource: set-timer

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"timer-value": "integer", Timer value in minutes.
units: "minutes"
"timer-name": "string" Name of the timer.
} }

STOP-TIMER - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/stop-timer/

Update operation of resource: stop-timer

stop-timerbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"timer-name": "string" Name of the timer.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STOP-TIMER - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/stop-timer/

Create operation of resource: stop-timer

stop-timerbody object

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Request Content-Types: application/json
Request Example
{    
"timer-name": "string" Name of the timer.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STOP-TIMER - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/stop-timer/

Delete operation of resource: stop-timer

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

STOP-TIMER - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/event/{event-type}/class/{class-name class-type}/action-rule/{action-sequence-number}/stop-timer/

Retrieve operation of resource: stop-timer

type name: string
in path

ID of type name

event-type: string
in path

ID of event-type

class-name class-type: string
in path

ID of class-name class-type

action-sequence-number: string
in path

ID of action-sequence-number

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"timer-name": "string" Name of the timer.
} }

POLICY-MAP-RULE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/

Update operation of resource: policy-map-rule

policy-map-rulebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{        
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of service-policy.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAP-RULE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/

Create operation of resource: policy-map-rule

policy-map-rulebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{        
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of service-policy.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAP-RULE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/

Delete operation of resource: policy-map-rule

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICY-MAP-RULE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/

Retrieve operation of resource: policy-map-rule

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} },
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
},
"default-red": [ null ], Default random early detection
"pbr-transmit": [ null ], Policy action PBR transmit.
"fragment": "string", Policy action fragment. Fragment name
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
},
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" VRF name.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" VRF name.
} },
"class-name": "string", Name of class-map.
"ecn-red": [ null ], ECN based random early detection
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
} },
"pbr-drop": [ null ], Policy action PBR drop.
"priority-level": "integer", Priority level.
range: "1..7"
"service-fragment": "string", Policy action service fragment.\nService fragment name
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"cos": "integer", WRED based on CoS.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", WRED based on precedence.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", WRED based on DSCP.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", WRED based on discard class.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } },
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
},
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} },
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Remaining bandwidth value.
range: "1..4294967295"
} },
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"http-redirect": "string", Policy action http redirect.\nRedirect to this url.
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} },
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
},
"class-type": "enumeration", Type of class-map.
Options:
qos
traffic
subscriber-control
"policy-name": "string", Name of service-policy.
"type": "string" Type of service-policy.
},
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
},
"decap-gre": [ null ], Policy action DECAP GRE.
{
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} ] } }

SHAPE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/

Update operation of resource: shape

shapebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"unit": "string", Shape bandwidth units.
"value": "integer" Burst size value.
},
"units": "string", Burst size units.
"value": "integer" Burst size value.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SHAPE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/

Create operation of resource: shape

shapebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"unit": "string", Shape bandwidth units.
"value": "integer" Burst size value.
},
"units": "string", Burst size units.
"value": "integer" Burst size value.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SHAPE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/

Delete operation of resource: shape

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SHAPE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/

Retrieve operation of resource: shape

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"unit": "string", Shape bandwidth units.
"value": "integer" Burst size value.
},
"units": "string", Burst size units.
"value": "integer" Burst size value.
} } }

RATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/rate/

Update operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Shape bandwidth units.
"value": "integer" Shape bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/rate/

Create operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Shape bandwidth units.
"value": "integer" Shape bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/rate/

Delete operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/rate/

Retrieve operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unit": "string", Shape bandwidth units.
"value": "integer" Shape bandwidth value.
} }

BURST - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/burst/

Update operation of resource: burst

burstbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Burst size units.
"value": "integer" Burst size value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BURST - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/burst/

Create operation of resource: burst

burstbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Burst size units.
"value": "integer" Burst size value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BURST - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/burst/

Delete operation of resource: burst

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BURST - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/shape/burst/

Retrieve operation of resource: burst

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"units": "string", Burst size units.
"value": "integer" Burst size value.
} }

MIN-BANDWIDTH - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/min-bandwidth/

Update operation of resource: min-bandwidth

min-bandwidthbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Minimum bandwidth units.
"value": "integer" Minimum bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIN-BANDWIDTH - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/min-bandwidth/

Create operation of resource: min-bandwidth

min-bandwidthbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Minimum bandwidth units.
"value": "integer" Minimum bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIN-BANDWIDTH - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/min-bandwidth/

Delete operation of resource: min-bandwidth

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MIN-BANDWIDTH - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/min-bandwidth/

Retrieve operation of resource: min-bandwidth

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unit": "string", Minimum bandwidth units.
"value": "integer" Minimum bandwidth value.
} }

BANDWIDTH-REMAINING - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/bandwidth-remaining/

Update operation of resource: bandwidth-remaining

bandwidth-remainingbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BANDWIDTH-REMAINING - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/bandwidth-remaining/

Create operation of resource: bandwidth-remaining

bandwidth-remainingbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BANDWIDTH-REMAINING - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/bandwidth-remaining/

Delete operation of resource: bandwidth-remaining

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BANDWIDTH-REMAINING - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/bandwidth-remaining/

Retrieve operation of resource: bandwidth-remaining

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} }

QUEUE-LIMIT - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/queue-limit/

Update operation of resource: queue-limit

queue-limitbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

QUEUE-LIMIT - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/queue-limit/

Create operation of resource: queue-limit

queue-limitbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

QUEUE-LIMIT - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/queue-limit/

Delete operation of resource: queue-limit

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

QUEUE-LIMIT - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/queue-limit/

Retrieve operation of resource: queue-limit

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unit": "string", Remaining bandwidth units.
"value": "integer" Remaining bandwidth value.
} }

PFC - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/

Update operation of resource: pfc

pfcbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
},
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/

Create operation of resource: pfc

pfcbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
},
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/

Delete operation of resource: pfc

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/

Retrieve operation of resource: pfc

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
},
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
},
"pfc-pause-set": [ null ], Pfc Pause set value.
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
} } }

PFC-BUFFER-SIZE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-buffer-size/

Update operation of resource: pfc-buffer-size

pfc-buffer-sizebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Pfc buffer size units.
"value": "integer" Pfc buffer size value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-BUFFER-SIZE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-buffer-size/

Create operation of resource: pfc-buffer-size

pfc-buffer-sizebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Pfc buffer size units.
"value": "integer" Pfc buffer size value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-BUFFER-SIZE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-buffer-size/

Delete operation of resource: pfc-buffer-size

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-BUFFER-SIZE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-buffer-size/

Retrieve operation of resource: pfc-buffer-size

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unit": "string", Pfc buffer size units.
"value": "integer" Pfc buffer size value.
} }

PFC-PAUSE-THRESHOLD - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-pause-threshold/

Update operation of resource: pfc-pause-threshold

pfc-pause-thresholdbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-PAUSE-THRESHOLD - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-pause-threshold/

Create operation of resource: pfc-pause-threshold

pfc-pause-thresholdbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-PAUSE-THRESHOLD - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-pause-threshold/

Delete operation of resource: pfc-pause-threshold

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-PAUSE-THRESHOLD - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-pause-threshold/

Retrieve operation of resource: pfc-pause-threshold

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unit": "string", Pfc pause threshold units.
"value": "integer" Pfc pause threshold value.
} }

PFC-RESUME-THRESHOLD - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-resume-threshold/

Update operation of resource: pfc-resume-threshold

pfc-resume-thresholdbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Pfc resume threshold units.
"value": "integer" Pfc resume threshold value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-RESUME-THRESHOLD - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-resume-threshold/

Create operation of resource: pfc-resume-threshold

pfc-resume-thresholdbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"unit": "string", Pfc resume threshold units.
"value": "integer" Pfc resume threshold value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-RESUME-THRESHOLD - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-resume-threshold/

Delete operation of resource: pfc-resume-threshold

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PFC-RESUME-THRESHOLD - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pfc/pfc-resume-threshold/

Retrieve operation of resource: pfc-resume-threshold

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"unit": "string", Pfc resume threshold units.
"value": "integer" Pfc resume threshold value.
} }

RANDOM-DETECT - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/random-detect/{threshold-min-value threshold-min-units threshold-max-value threshold-max-units}/

Update operation of resource: random-detect

random-detectbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

threshold-min-value threshold-min-units threshold-max-value threshold-max-units: string
in path

ID of threshold-min-value threshold-min-units threshold-max-value threshold-max-units

Request Content-Types: application/json
Request Example
{    
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RANDOM-DETECT - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/random-detect/{threshold-min-value threshold-min-units threshold-max-value threshold-max-units}/

Create operation of resource: random-detect

random-detectbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

threshold-min-value threshold-min-units threshold-max-value threshold-max-units: string
in path

ID of threshold-min-value threshold-min-units threshold-max-value threshold-max-units

Request Content-Types: application/json
Request Example
{    
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RANDOM-DETECT - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/random-detect/{threshold-min-value threshold-min-units threshold-max-value threshold-max-units}/

Delete operation of resource: random-detect

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

threshold-min-value threshold-min-units threshold-max-value threshold-max-units: string
in path

ID of threshold-min-value threshold-min-units threshold-max-value threshold-max-units

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RANDOM-DETECT - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/random-detect/{threshold-min-value threshold-min-units threshold-max-value threshold-max-units}/

Retrieve operation of resource: random-detect

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

threshold-min-value threshold-min-units threshold-max-value threshold-max-units: string
in path

ID of threshold-min-value threshold-min-units threshold-max-value threshold-max-units

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"cos": "string", WRED based on CoS.
range: "0..7"
"threshold-max-value": "integer", Maximum RED threshold value.
"precedence": "string", WRED based on precedence.
range: "0..7"
"threshold-min-value": "integer", Minimum RED threshold value.
"threshold-max-units": "string", Maximum RED threshold units.
"dscp": "string", WRED based on DSCP.
"dei": "integer", DEI based WRED.\nShould be value 0..1.
range: "0..1"
"threshold-min-units": "string", Minimum RED threshold units.
"ecn": [ null ], ECN based WRED.
"discard-class": "string", WRED based on discard class.
range: "0..7"
"mpls-exp": "string" MPLS Experimental value based WRED.
range: "0..7"
} }

SET - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/set/

Update operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/set/

Create operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/set/

Delete operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/set/

Retrieve operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }

POLICE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/

Update operation of resource: police

policebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Burst units.
"value": "integer" Burst value.
},
"units": "string", Burst units.
"value": "integer" Burst value.
},
"units": "string", Burst units.
"value": "integer" Burst value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Burst units.
"value": "integer" Burst value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/

Create operation of resource: police

policebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Burst units.
"value": "integer" Burst value.
},
"units": "string", Burst units.
"value": "integer" Burst value.
},
"units": "string", Burst units.
"value": "integer" Burst value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Burst units.
"value": "integer" Burst value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/

Delete operation of resource: police

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

POLICE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/

Retrieve operation of resource: police

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Burst units.
"value": "integer" Burst value.
},
"units": "string", Burst units.
"value": "integer" Burst value.
},
"units": "string", Burst units.
"value": "integer" Burst value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} },
"units": "string", Burst units.
"value": "integer" Burst value.
},
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } } }

RATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/rate/

Update operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Rate units.
"value": "integer" Rate value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/rate/

Create operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Rate units.
"value": "integer" Rate value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/rate/

Delete operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/rate/

Retrieve operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"units": "string", Rate units.
"value": "integer" Rate value.
} }

PEAK-RATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-rate/

Update operation of resource: peak-rate

peak-ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Peak rate units.
"value": "integer" Peak rate value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PEAK-RATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-rate/

Create operation of resource: peak-rate

peak-ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Peak rate units.
"value": "integer" Peak rate value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PEAK-RATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-rate/

Delete operation of resource: peak-rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PEAK-RATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-rate/

Retrieve operation of resource: peak-rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"units": "string", Peak rate units.
"value": "integer" Peak rate value.
} }

BURST - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/burst/

Update operation of resource: burst

burstbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Burst units.
"value": "integer" Burst value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BURST - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/burst/

Create operation of resource: burst

burstbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Burst units.
"value": "integer" Burst value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BURST - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/burst/

Delete operation of resource: burst

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

BURST - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/burst/

Retrieve operation of resource: burst

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"units": "string", Burst units.
"value": "integer" Burst value.
} }

PEAK-BURST - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-burst/

Update operation of resource: peak-burst

peak-burstbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Peak burst units.
"value": "integer" Peak burst value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PEAK-BURST - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-burst/

Create operation of resource: peak-burst

peak-burstbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Peak burst units.
"value": "integer" Peak burst value.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PEAK-BURST - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-burst/

Delete operation of resource: peak-burst

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PEAK-BURST - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/peak-burst/

Retrieve operation of resource: peak-burst

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"units": "string", Peak burst units.
"value": "integer" Peak burst value.
} }

CONFORM-ACTION - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/

Update operation of resource: conform-action

conform-actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONFORM-ACTION - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/

Create operation of resource: conform-action

conform-actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONFORM-ACTION - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/

Delete operation of resource: conform-action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CONFORM-ACTION - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/

Retrieve operation of resource: conform-action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }

SET - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/set/

Update operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/set/

Create operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/set/

Delete operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/conform-action/set/

Retrieve operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }

EXCEED-ACTION - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/

Update operation of resource: exceed-action

exceed-actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EXCEED-ACTION - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/

Create operation of resource: exceed-action

exceed-actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EXCEED-ACTION - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/

Delete operation of resource: exceed-action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

EXCEED-ACTION - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/

Retrieve operation of resource: exceed-action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }

SET - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/set/

Update operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/set/

Create operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/set/

Delete operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/exceed-action/set/

Retrieve operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }

VIOLATE-ACTION - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/

Update operation of resource: violate-action

violate-actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIOLATE-ACTION - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/

Create operation of resource: violate-action

violate-actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIOLATE-ACTION - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/

Delete operation of resource: violate-action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

VIOLATE-ACTION - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/

Retrieve operation of resource: violate-action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"Transmit": [ null ], Police action transmit.
"drop": [ null ], Police action drop.
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} } }

SET - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/set/

Update operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/set/

Create operation of resource: set

setbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/set/

Delete operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SET - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/police/violate-action/set/

Retrieve operation of resource: set

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"dei": "integer", Set DEI bit.
range: "0..1"
"cos": "integer", Sets the specific IEEE 802.1Q Layer 2 CoS value of an\noutgoing packet.\nThis command should be used by a router if a user wants\nto mark a packet that is being sent to a switch.\nSwitches can leverage Layer 2 header information,\nincluding a CoS value marking. Packets entering an\ninterface cannot be set with a CoS value.
range: "0..7"
"inner-cos": "integer", Set inner cos.
range: "0..7"
"forward-class": "integer", Sets the forward class.
range: "0..7"
"precedence": "string", Sets the precedence value in the IP header.
range: "0..7"
"srp-priority": "integer", Sets the spatial reuse protocol priority value of an\noutgoing packet.
range: "0..7"
"df": "integer", Set DF bit.
range: "0..1"
"fr-de": "integer", Set FrameRelay DE bit.
range: "0..1"
"dscp-tunnel": "string", Marks a packet by setting DSCP in the tunnel header.\nThis is specific to ipsec tunnels
"mpls-experimental-top-most": "integer", Sets the experimental value of the MPLS packet top-most\nlabels.
range: "0..7"
"dscp": "string", Marks a packet by setting the DSCP in the ToS byte.
"mpls-experimental-imposition": "integer", Sets the experimental value of the MPLS packet\nimposition labels.\nImposition can be used only in service policies that\nare attached in the ingress policy
range: "0..7"
"qos-group": "integer", Sets the QoS group identifiers on IPv4 or MPLS packets.\nThe set qos-group is supported only on an ingress policy.
range: "0..512"
"traffic-class": "integer", Sets the Traffic class identifiers on IPv4 or MPLS packets.
range: "0..63"
"destination-address": "string", Destination IPv4 address.
"precedence-tunnel": "string", Sets the precedence tunnel value for ipsec.
range: "0..7"
"source-address": "string", Source IPv4 address.
"discard-class": "integer", Sets the discard class on IPv4 or MPLS packets.\nThe discard-class can be used only in service policies\nthat are attached in the ingress policy.
range: "0..7"
"dei-imposition": "integer", Set DEI imposition bit.
range: "0..1"
"atm-clp": [ null ] Set atm cell-loss-priority bit.
} }

SERVICE-POLICY - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-policy/

Update operation of resource: service-policy

service-policybody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"policy-name": "string", Name of service-policy.
"type": "string" Type of service-policy.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-POLICY - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-policy/

Create operation of resource: service-policy

service-policybody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"policy-name": "string", Name of service-policy.
"type": "string" Type of service-policy.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-POLICY - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-policy/

Delete operation of resource: service-policy

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-POLICY - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-policy/

Retrieve operation of resource: service-policy

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"policy-name": "string", Name of service-policy.
"type": "string" Type of service-policy.
} }

CAC-LOCAL - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/

Update operation of resource: cac-local

cac-localbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CAC-LOCAL - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/

Create operation of resource: cac-local

cac-localbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CAC-LOCAL - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/

Delete operation of resource: cac-local

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

CAC-LOCAL - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/

Retrieve operation of resource: cac-local

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"flow-idle-timeout": "string", The interval after which a flow is removed,\nif there is no activity.\nIf timeout is 0 this flow does not expire.
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
},
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} } }

RATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/rate/

Update operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/rate/

Create operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/rate/

Delete operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/rate/

Retrieve operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} }

FLOW-RATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/flow-rate/

Update operation of resource: flow-rate

flow-ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-RATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/flow-rate/

Create operation of resource: flow-rate

flow-ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-RATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/flow-rate/

Delete operation of resource: flow-rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-RATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/cac-local/flow-rate/

Retrieve operation of resource: flow-rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"units": "string", Rate units.
"value": "integer" Rate value.
range: "1..4294967295"
} }

FLOW-PARAMS - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/flow-params/

Update operation of resource: flow-params

flow-paramsbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-PARAMS - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/flow-params/

Create operation of resource: flow-params

flow-paramsbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-PARAMS - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/flow-params/

Delete operation of resource: flow-params

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

FLOW-PARAMS - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/flow-params/

Retrieve operation of resource: flow-params

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"max-flow": "integer", Max simultaneous flows monitored per policy class
range: "0..4096"
"interval-duration": "integer", Monitored interval duration.
units: "seconds"
"timeout": "integer", Declare a flow dead if no packets received in\nso much time
units: "seconds"
"history": "integer" Keep stats/metrics on box for so many intervals.
} }

METRICS-IPCBR - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/

Update operation of resource: metrics-ipcbr

metrics-ipcbrbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

METRICS-IPCBR - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/

Create operation of resource: metrics-ipcbr

metrics-ipcbrbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

METRICS-IPCBR - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/

Delete operation of resource: metrics-ipcbr

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

METRICS-IPCBR - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/

Retrieve operation of resource: metrics-ipcbr

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
},
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} } }

RATE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/rate/

Update operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/rate/

Create operation of resource: rate

ratebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/rate/

Delete operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

RATE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/rate/

Retrieve operation of resource: rate

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"layer3": "integer", Nominal rate specified at the L3 (IP).
units: "bps"
"media": "integer", Nominal data rate of the media flow (ip payload).
range: "1..3000000000"
units: "bps"
"packet": "integer" Nominal IP layer packet rate (in pps).
units: "pps"
} }

MEDIA-PACKET - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/media-packet/

Update operation of resource: media-packet

media-packetbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEDIA-PACKET - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/media-packet/

Create operation of resource: media-packet

media-packetbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEDIA-PACKET - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/media-packet/

Delete operation of resource: media-packet

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

MEDIA-PACKET - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/metrics-ipcbr/media-packet/

Retrieve operation of resource: media-packet

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"count-in-layer3": "integer", Nominal number of media packets in an IP payload.
range: "1..64"
units: "packets"
"size": "integer" Nominal size of the media-packet.
units: "bytes"
} }

REACT - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/

Update operation of resource: react

reactbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REACT - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/

Create operation of resource: react

reactbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REACT - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/

Delete operation of resource: react

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

REACT - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/

Retrieve operation of resource: react

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"criterion-packet-rate": [ null ], React criterion packet rate.
"criterion-media-stop": [ null ], React criterion media stop.
"criterion-flow-count": [ null ], React criterion flow count.
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
},
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} },
"criterion-delay-factor": [ null ], React criterion delay factor.
"descrition": "string", String describing the react statement.
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
},
"criterion-mrv": [ null ] React criterion mrv.
} }

ACTION - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/action/

Update operation of resource: action

actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTION - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/action/

Create operation of resource: action

actionbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTION - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/action/

Delete operation of resource: action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ACTION - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/action/

Retrieve operation of resource: action

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"syslog": [ null ], Syslog.
"snmp": [ null ] SNMP.
} }

ALARM - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/

Update operation of resource: alarm

alarmbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ALARM - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/

Create operation of resource: alarm

alarmbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ALARM - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/

Delete operation of resource: alarm

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ALARM - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/

Retrieve operation of resource: alarm

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
},
"severity": "string" Severity of the alarm.
} }

TYPE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/type/

Update operation of resource: type

typebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TYPE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/type/

Create operation of resource: type

typebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TYPE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/type/

Delete operation of resource: type

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TYPE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/alarm/type/

Retrieve operation of resource: type

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"group-count": "integer", Number of flows to reach before\ntriggering alarm
units: "number of flows"
"discrete": [ null ], Discrete alarm type.
"group-percent": "integer" Percent to reach before triggering alarm
units: "percentage"
} }

THRESHOLD - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/

Update operation of resource: threshold

thresholdbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

THRESHOLD - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/

Create operation of resource: threshold

thresholdbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

THRESHOLD - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/

Delete operation of resource: threshold

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

THRESHOLD - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/

Retrieve operation of resource: threshold

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
},
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} } }

TRIGGER-VALUE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-value/

Update operation of resource: trigger-value

trigger-valuebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRIGGER-VALUE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-value/

Create operation of resource: trigger-value

trigger-valuebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRIGGER-VALUE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-value/

Delete operation of resource: trigger-value

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRIGGER-VALUE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-value/

Retrieve operation of resource: trigger-value

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"less-than-equal": "string", Less than equal
"range": "string", Range
"greater-than-equal": "string", Greater than equal
"less-than": "string", Less than
"greater-than": "string" Greater than
} }

TRIGGER-TYPE - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-type/

Update operation of resource: trigger-type

trigger-typebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRIGGER-TYPE - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-type/

Create operation of resource: trigger-type

trigger-typebody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRIGGER-TYPE - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-type/

Delete operation of resource: trigger-type

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

TRIGGER-TYPE - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/react/threshold/trigger-type/

Retrieve operation of resource: trigger-type

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"average": "integer", Trigger averaged over N intervals.
"immediate": [ null ] Immediate trigger.
} }

PBR-REDIRECT - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/

Update operation of resource: pbr-redirect

pbr-redirectbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{        
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" IPv6 VRF.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" IPv6 VRF.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PBR-REDIRECT - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/

Create operation of resource: pbr-redirect

pbr-redirectbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{        
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" IPv6 VRF.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" IPv6 VRF.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PBR-REDIRECT - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/

Delete operation of resource: pbr-redirect

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PBR-REDIRECT - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/

Retrieve operation of resource: pbr-redirect

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{        
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} },
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" IPv6 VRF.
},
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" IPv6 VRF.
} } }

IPV4 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv4/

Update operation of resource: ipv4

ipv4body object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" IPv4 VRF.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv4/

Create operation of resource: ipv4

ipv4body object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" IPv4 VRF.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv4/

Delete operation of resource: ipv4

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv4/

Retrieve operation of resource: ipv4

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ipv4-next-hop": "string", IPv4 address.
"vrf": "string" IPv4 VRF.
} }

IPV6 - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv6/

Update operation of resource: ipv6

ipv6body object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" IPv6 VRF.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV6 - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv6/

Create operation of resource: ipv6

ipv6body object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" IPv6 VRF.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV6 - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv6/

Delete operation of resource: ipv6

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV6 - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/ipv6/

Retrieve operation of resource: ipv6

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ipv6-next-hop": "string", IPv6 address.
"vrf": "string" IPv6 VRF.
} }

NEXT-HOP - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/

Update operation of resource: next-hop

next-hopbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NEXT-HOP - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/

Create operation of resource: next-hop

next-hopbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{      
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NEXT-HOP - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/

Delete operation of resource: next-hop

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NEXT-HOP - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/

Retrieve operation of resource: next-hop

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{      
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} } }

ROUTE-TARGET - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/

Update operation of resource: route-target

route-targetbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROUTE-TARGET - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/

Create operation of resource: route-target

route-targetbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROUTE-TARGET - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/

Delete operation of resource: route-target

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

ROUTE-TARGET - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/

Retrieve operation of resource: route-target

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"index": "integer", ASN2:index 2/4 byte (hex or decimal format)
range: "0..4294967295"
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
},
"as-number": "integer" 2-byte/4-byte AS number
range: "1..4294967295"
} }

IPV4-ADDRESS - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/ipv4-address/

Update operation of resource: ipv4-address

ipv4-addressbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4-ADDRESS - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/ipv4-address/

Create operation of resource: ipv4-address

ipv4-addressbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4-ADDRESS - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/ipv4-address/

Delete operation of resource: ipv4-address

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

IPV4-ADDRESS - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-redirect/next-hop/route-target/ipv4-address/

Retrieve operation of resource: ipv4-address

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"netmask": "string", IPv4 netmask.
"address": "string" IPv4 address.
} }

PBR-FORWARD - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/

Update operation of resource: pbr-forward

pbr-forwardbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PBR-FORWARD - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/

Create operation of resource: pbr-forward

pbr-forwardbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} } }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PBR-FORWARD - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/

Delete operation of resource: pbr-forward

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

PBR-FORWARD - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/

Retrieve operation of resource: pbr-forward

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"default": [ null ], Use system default routing table.
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} } }

NEXT-HOP - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/next-hop/

Update operation of resource: next-hop

next-hopbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NEXT-HOP - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/next-hop/

Create operation of resource: next-hop

next-hopbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NEXT-HOP - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/next-hop/

Delete operation of resource: next-hop

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

NEXT-HOP - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/pbr-forward/next-hop/

Retrieve operation of resource: next-hop

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"ipv6-address": "string", IPv6 address.
"ipv4-address": "string", IPv4 address.
"vrf": "string" VRF name.
} }

SERVICE-FUNCTION-PATH - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-function-path/

Update operation of resource: service-function-path

service-function-pathbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"index": "integer", Service function path index.
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-FUNCTION-PATH - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-function-path/

Create operation of resource: service-function-path

service-function-pathbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"index": "integer", Service function path index.
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-FUNCTION-PATH - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-function-path/

Delete operation of resource: service-function-path

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

SERVICE-FUNCTION-PATH - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/service-function-path/

Retrieve operation of resource: service-function-path

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"index": "integer", Service function path index.
range: "1..255"
"path-id": "integer", Service function path id.
range: "1..16777215"
"metadata": "string" Service function path metadata name.
} }

HTTP-ENRICHMENT - Update

PUT Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/http-enrichment/

Update operation of resource: http-enrichment

http-enrichmentbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HTTP-ENRICHMENT - Create

POST Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/http-enrichment/

Create operation of resource: http-enrichment

http-enrichmentbody object

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Request Content-Types: application/json
Request Example
{    
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
} }
200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HTTP-ENRICHMENT - Delete

DELETE Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/http-enrichment/

Delete operation of resource: http-enrichment

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

200 OK

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json

HTTP-ENRICHMENT - Retrieve

GET Cisco-IOS-XR-infra-policymgr-cfg:policy-manager/policy-maps/policy-map/{type name}/policy-map-rule/{class-name class-type}/http-enrichment/

Retrieve operation of resource: http-enrichment

type name: string
in path

ID of type name

class-name class-type: string
in path

ID of class-name class-type

Successful operation

400 Bad Request

Internal Error

Response Content-Types: application/json
Response Example (200 OK)
{    
"subscriberip": [ null ], Subscriber IP
"hostname": [ null ], Hostname
"subscribermac": [ null ], Subscriber Mac
"bngidentifierinterface": [ null ] Bng Identifier Interface
} }